﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DormMS.Model
{
    /// <summary>
    /// 基本属性类
    /// </summary>
    public class Entity
    {
        private int addUser = 0;
        /// <summary>
        /// 添加人
        /// </summary>
        public int AddUserId { get { return addUser; } set { addUser = value; } }
        private DateTime addTime = DateTime.Now;
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get { return addTime; } set { addTime = value; } }

        private int editUser = 0;
        /// <summary>
        /// 最近修改人
        /// </summary>
        public int EditUserId { get { return editUser; } set { editUser = value; } }
        private DateTime editTime = DateTime.Now;
        /// <summary>
        /// 最近修改时间
        /// </summary>
        public DateTime EditTime { get { return editTime; } set { editTime = value; } }

        private bool isDeleted = false;
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get { return isDeleted; } set { isDeleted = value; } }
    }
}
